﻿using HongStone.Domain.AttendanceManagement;
using HongStone.Domain.ContractModel;
using HongStone.Dto;
using HongStone.Dto.ProductionDto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Ince
{
    public interface ProductionoInce
    {
        /// <summary>
        /// 显示合同额百分比
        /// </summary>
        /// <returns></returns>
        public List<Productionotemporary> GetThecontracts(string And, string End);

        /// <summary>
        /// 部门合同额同比(月)
        /// </summary>
        /// <returns></returns>
        public List<Productionotemporary> GetYue(string And, string End);

        /// <summary>
        /// 合同收费详细
        /// </summary>
        /// <param name="DictionariesId"></param>
        /// <param name="ShiJian"></param>
        /// <param name="ContractName"></param>
        /// <returns></returns>
        public List<Thecontract> GetThecontractss(string DictionariesId, string ShiJian, string ContractName);

        /// <summary>
        /// 部门收费同比
        /// </summary>
        /// <param name="And"></param>
        /// <param name="End"></param>
        /// <returns></returns>
        public List<Productionotemporary> GetTongBi(string And, string End);

        /// <summary>
        /// 计算同比增减
        /// </summary>
        /// <param name="And"></param>
        /// <param name="End"></param>
        /// <returns></returns>
        public List<Productionotemporary> GetBiLi(string And, string End);

        /// <summary>
        /// 部门收费同比
        /// </summary>
        /// <returns></returns>
        public List<Productionotemporary> GetDepartmentCharges(string And, string End);

        /// <summary>
        /// 环比
        /// </summary>
        /// <returns></returns>
        public List<Productionotemporary> GetHuanQian(string And, string End, string Ands, string Ends);

        ResultData ShowTotal(int deptid, int year, int ji, int yue);
        /// <summary>
        /// 合同收款统计
        /// </summary>
        /// <param name="deptid"></param>
        /// <param name="year"></param>
        /// <param name="ji"></param>
        /// <param name="yue"></param>
        /// <param name="begintime"></param>
        /// <param name="endtime"></param>
        /// <param name="beinyear"></param>
        /// <param name="endyaer"></param>
        /// <param name="name"></param>
        /// <param name="beginedu"></param>
        /// <param name="endedu"></param>
        /// <param name="beginsalary"></param>
        /// <param name="endsalary"></param>
        /// <param name="beginjin"></param>
        /// <param name="endjin"></param>
        /// <returns></returns>
        ResultData ShowContractTotal(ChecksDto checksDto);
        /// <summary>
        /// 合同综合统计
        /// </summary>
        /// <param name="checksDto"></param>
        /// <returns></returns>
        ResultData ShowContractCount(ChecksDto checksDto);

        /// <summary>
        /// 项目分类同比
        /// </summary>
        /// <returns></returns>
        public List<Productionotemporary> GetFenLei(string And, string End, string Ands, string Ends);
        /// <summary>
        /// 项目综合统计
        /// </summary>
        /// <param name="checksDto"></param>
        /// <returns></returns>
        ResultData ShowProjectCount(ChecksDto checksDto);
    }
}
